<div class="article_top">
  <%=render :partial=>"article_search" ,:object=>params[:title] %>
</div>
<div class="article">
  <div class="left">
    <div class="content">
      <h2><%=@article.title %></h2>
      <div class="sub_article">
        <%= @article.created_at.strftime("%Y年%m月%d日") %>&nbsp;<%=@article.come_from %>
      </div>
      <div class="short_des">
        <%= @article.short_description %>
      </div>
      <div class="article_content">
        <%= @article.article_content.content %>
      </div>
    </div>
  </div>
  <div class="right">
    <div class="content">
       <% cache  :controller=>"advertisements",:action=>"list",:part=>"article_right_top" do %>
        <%=display_advertisement("ArticleRightTop") %>
      <% end %>
    </div>
    <% cache "hotnews",10.minutes.from_now.to_s do %>
      <%= render :partial=>"display/news_part",:object=>hotnews,:locals=>{:display_name=>"热点新闻"} %>
    <% end %>
  </div>
</div>

<%= render :partial=>"sub_menu" %>

<script type="text/javascript">
  $(window).load(function(){
    left=$(".article>.left");
    right=$(".article>.right");
    if(left.height()>right.height())
    {
      right.height(left.height());
    }
    else
    {
      left.height(right.height());
    }
  }
);
</script>